package cn.itsource.pet.domain;

import java.math.BigDecimal;
import java.util.Date;
import cn.itsource.basic.domain.BaseDomain;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author zj
 * @since 2022-12-12
 */
@Data
public class Pet extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private String name;
    private BigDecimal saleprice;
    private BigDecimal costprice;
    private String resources;
    /**
     * 状态：0下架 1上架
     */
    private Integer state = 0;
    /**
     * 类型id
     */
    private Long typeId;
    //下架时间
    private Date offsaletime;
    //上架时间
    private Date onsaletime;
    private Date createtime = new Date();
    /**
     * 店铺Id 如果被领养店铺id为null
     *  获取当前后台登录用户所属的店铺id
     */
    private Long shopId;
    private String shopName;
    /**
     * 如果被领养为领养用户id
     */
    private Long userId;
    private Long searchMasterMsgId;
    //被审核次数
    private Integer auditnum = 0;
    private String note;


    private PetDetail petDetail;
    private PetType petType;
}
